/**********************************************************
 * Timezones.java.java
 * Created by Ashutosh
 * Last modified Date: Sep 18, 2008 11:01:22 AM by Ashutosh
 * Revision: <svn revision #>
 * Version : 0.1
 * Copyright (c) 2008 - 2009 cyberThink Infotech Pvt. Ltd., All rights reserved.
 **********************************************************/

package com.printeverywhere.dto;

import java.util.HashSet;
import java.util.Set;

/**
 * Timezones entity.
 *
 * @author MyEclipse Persistence Tools
 */

public class Timezones implements java.io.Serializable {

	// Fields

	/** The id. */
	private Integer id;

	/** The timezone location. */
	private String timezoneLocation;

	/** The gmt. */
	private String gmt;

	/** The offset. */
	private Short offset;

	private String countryCode;

	/** The users. */
	private Set users = new HashSet(0);

	// Constructors

	/**
	 * default constructor.
	 */
	public Timezones() {
	}

	/**
	 * minimal constructor.
	 *
	 * @param timezoneLocation the timezone location
	 * @param gmt the gmt
	 * @param offset the offset
	 */
	public Timezones(String timezoneLocation, String gmt, Short offset) {
		this.timezoneLocation = timezoneLocation;
		this.gmt = gmt;
		this.offset = offset;
	}

	/**
	 * full constructor.
	 *
	 * @param timezoneLocation the timezone location
	 * @param gmt the gmt
	 * @param offset the offset
	 * @param users the users
	 */
	public Timezones(String timezoneLocation, String gmt, Short offset,
			Set users) {
		this.timezoneLocation = timezoneLocation;
		this.gmt = gmt;
		this.offset = offset;
		this.users = users;
	}

	// Property accessors

	/**
	 * Gets the id.
	 *
	 * @return the id
	 */
	public Integer getId() {
		return this.id;
	}

	/**
	 * Sets the id.
	 *
	 * @param id the new id
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * Gets the timezone location.
	 *
	 * @return the timezone location
	 */
	public String getTimezoneLocation() {
		return this.timezoneLocation;
	}

	/**
	 * Sets the timezone location.
	 *
	 * @param timezoneLocation the new timezone location
	 */
	public void setTimezoneLocation(String timezoneLocation) {
		this.timezoneLocation = timezoneLocation;
	}

	/**
	 * Gets the gmt.
	 *
	 * @return the gmt
	 */
	public String getGmt() {
		return this.gmt;
	}

	/**
	 * Sets the gmt.
	 *
	 * @param gmt the new gmt
	 */
	public void setGmt(String gmt) {
		this.gmt = gmt;
	}

	/**
	 * Gets the offset.
	 *
	 * @return the offset
	 */
	public Short getOffset() {
		return this.offset;
	}

	/**
	 * Sets the offset.
	 *
	 * @param offset the new offset
	 */
	public void setOffset(Short offset) {
		this.offset = offset;
	}

	/**
	 * Gets the users.
	 *
	 * @return the users
	 */
	public Set getUsers() {
		return this.users;
	}

	/**
	 * Sets the users.
	 *
	 * @param users the new users
	 */
	public void setUsers(Set users) {
		this.users = users;
	}

	public String getCountryCode() {
		return countryCode;
	}

	public void setCountryCode(String countryCode) {
		this.countryCode = countryCode;
	}
}